﻿using MediatR;
using Process.DAL;

namespace Process.Api.Application.Command
{
    public class CreateProcessFlowCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 工艺流程编号
        /// </summary>
        public string FlowCode { get; set; }

        /// <summary>
        /// 工艺流程名称
        /// </summary>
        public string FlowName { get; set; }

        /// <summary>
        /// 工艺流程数量
        /// </summary>
        public string FlowNumber { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Responsible { get; set; }

        /// <summary>
        /// 所属部门
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 状态（0：禁用；1：启用）

        /// </summary>
        public int Status { get; set; } = 0;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 工序Id集合
        /// </summary>
        public List<int> ProcessIds { get; set; } = new();
    }
}
